package lab02.test05;

import java.util.Scanner;

public class Test05 {
        public static void main(String[] args) {
            Scanner sc = new Scanner(System.in);
            Cube cube = new Cube();

            System.out.println("enter length、wide、high:");
            cube.setLength(sc.nextFloat());
            cube.setWide(sc.nextFloat());
            cube.setHigh(sc.nextFloat());
            System.out.println("这个立方体的体积是：" + cube.codevolume());
        }
}
